/**
 * TrackingModel
 * @Chunning.Xu
 * 2011 Nov 24, 2011 7:06:11 PM
 **/
package com.lux.product.models
{
	public class TrackingModel extends GeneralModel
	{
		//START.
		
		public var pageView:String;
		public var click:String;
		public var purchase:String;
		
		public function TrackingModel()
		{
		}

		public override function setXML(xml:XML):void
		{
			if(xml.hasOwnProperty("page_view") && xml["page_view"].toString().length > 0)
				pageView = xml["page_view"].toString();
			if(xml.hasOwnProperty("clic") && xml["click"].toString().length > 0)
				click = xml["click"].toString();
			if(xml.hasOwnProperty("purchase") && xml["purchase"].toString().length > 0)
				purchase = xml["purchase"].toString();			
		}
		
		//END
	}
}